package com.acquisition.param.dto;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 上传参数
 * 对应UploadParam
 *
 * @author wuqiwei
 * @date 2020/10/15
 */
public class CenterServerConfig {

	@JSONField(name="type")
	private String type;

	@JSONField(name="mn")
	private String mn;

	@JSONField(name="serverCount")
	private Integer serverCount;

	@JSONField(name="center1Address")
	private String center1Address;

	@JSONField(name="center1Port")
	private Integer center1Port;

	@JSONField(name="center2Address")
	private String center2Address;

	@JSONField(name="center2Port")
	private Integer center2Port;

	@JSONField(name="center3Address")
	private String center3Address;

	@JSONField(name="center3Port")
	private Integer center3Port;

	@JSONField(name="center4Address")
	private String center4Address;

	@JSONField(name="center4Port")
	private Integer center4Port;

	@JSONField(name="realtimeUpload")
	private Integer realtimeUpload;

	@JSONField(name="minute10Upload")
	private Integer minute10Upload;

	@JSONField(name="hourUpload")
	private Integer hourUpload;

	@JSONField(name="dayUpload")
	private Integer dayUpload;

	@JSONField(name="interval")
	private int interval;

	public CenterServerConfig() {
		super();
	}

	public CenterServerConfig(String type, String mn, Integer serverCount, String center1Address, Integer center1Port,
							  String center2Address, Integer center2Port, String center3Address, Integer center3Port,
							  String center4Address, Integer center4Port, Integer realtimeUpload, Integer minute10Upload,
							  Integer hourUpload, Integer dayUpload, int interval) {
		super();
		this.type = type;
		this.mn = mn;
		this.serverCount = serverCount;
		this.center1Address = center1Address;
		this.center1Port = center1Port;
		this.center2Address = center2Address;
		this.center2Port = center2Port;
		this.center3Address = center3Address;
		this.center3Port = center3Port;
		this.center4Address = center4Address;
		this.center4Port = center4Port;
		this.realtimeUpload = realtimeUpload;
		this.minute10Upload = minute10Upload;
		this.hourUpload = hourUpload;
		this.dayUpload = dayUpload;
		this.interval = interval;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMn() {
		return mn;
	}

	public void setMn(String mn) {
		this.mn = mn;
	}

	public Integer getServerCount() {
		return serverCount;
	}

	public void setServerCount(Integer serverCount) {
		this.serverCount = serverCount;
	}

	public String getCenter1Address() {
		return center1Address;
	}

	public void setCenter1Address(String center1Address) {
		this.center1Address = center1Address;
	}

	public Integer getCenter1Port() {
		return center1Port;
	}

	public void setCenter1Port(Integer center1Port) {
		this.center1Port = center1Port;
	}

	public String getCenter2Address() {
		return center2Address;
	}

	public void setCenter2Address(String center2Address) {
		this.center2Address = center2Address;
	}

	public Integer getCenter2Port() {
		return center2Port;
	}

	public void setCenter2Port(Integer center2Port) {
		this.center2Port = center2Port;
	}

	public String getCenter3Address() {
		return center3Address;
	}

	public void setCenter3Address(String center3Address) {
		this.center3Address = center3Address;
	}

	public Integer getCenter3Port() {
		return center3Port;
	}

	public void setCenter3Port(Integer center3Port) {
		this.center3Port = center3Port;
	}

	public String getCenter4Address() {
		return center4Address;
	}

	public void setCenter4Address(String center4Address) {
		this.center4Address = center4Address;
	}

	public Integer getCenter4Port() {
		return center4Port;
	}

	public void setCenter4Port(Integer center4Port) {
		this.center4Port = center4Port;
	}

	public Integer getRealtimeUpload() {
		return realtimeUpload;
	}

	public void setRealtimeUpload(Integer realtimeUpload) {
		this.realtimeUpload = realtimeUpload;
	}

	public Integer getMinute10Upload() {
		return minute10Upload;
	}

	public void setMinute10Upload(Integer minute10Upload) {
		this.minute10Upload = minute10Upload;
	}

	public Integer getHourUpload() {
		return hourUpload;
	}

	public void setHourUpload(Integer hourUpload) {
		this.hourUpload = hourUpload;
	}

	public Integer getDayUpload() {
		return dayUpload;
	}

	public void setDayUpload(Integer dayUpload) {
		this.dayUpload = dayUpload;
	}

	public int getInterval() {
		return interval;
	}

	public void setInterval(int interval) {
		this.interval = interval;
	}

	@Override
	public String toString() {
		return "CenterServerConfig [type=" + type + ", mn=" + mn + ", serverCount=" + serverCount + ", center1Address="
				+ center1Address + ", center1Port=" + center1Port + ", center2Address=" + center2Address
				+ ", center2Port=" + center2Port + ", center3Address=" + center3Address + ", center3Port=" + center3Port
				+ ", center4Address=" + center4Address + ", center4Port=" + center4Port + ", realtimeUpload="
				+ realtimeUpload + ", minute10Upload=" + minute10Upload + ", hourUpload=" + hourUpload + ", dayUpload="
				+ dayUpload + ", interval=" + interval + "]";
	}

}
